package com.sanyang.lawyer.mapper.finance;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sanyang.lawyer.entity.Case_law;
import com.sanyang.lawyer.entity.Finance_pay;
import com.sanyang.lawyer.entity.Finance_payout;
import com.sanyang.lawyer.entity.Finance_payout_type;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @program: lawyer
 * @description: 支出
 * @author: lql
 * @create: 2019-10-11 09:28
 **/
@Mapper
public interface Finance_payoutMappper extends BaseMapper<Finance_payout> {

        public List<Finance_payout> list(Map<String, String> map);
        //财务统计
        public List<Map<String,Object>> Statistics(Map map);
        //出纳统计
        public List<Map<String,Object>> cashierStatistics(Map map);


        public int add(Map<String, String> map);

        //删除
        public int delete(int payoutId);
}
